package com.liang.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.liang.pojo.Data;
import com.liang.pojo.Page;
import com.liang.pojo.User;

public interface PageDao {
	/*
	 * List<User> selectPageList(@Param("startIndex")int
	 * startIndex,@Param("pageSize")int pageSize); int selectPageCount();
	 */
	List<User> selectPageList2(Map<String,Object> map);
	int selectPageCount2(Map<String,Object> map);
	int insertUser(User user);
	int deleteBeach(Page page);
	List<User> selectAllUser();
	List<User> selectAllUser2(Map<String, Object> map);
	int updateUser(Map<String, Object> map);
	User selectUserById(@Param("id")int id);
	int deleteUserById(@Param("id")int id);
	int deleteUserByList(Data data);
}
